﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using DataBase;

public partial class HelloWorld : System.Web.UI.Page
{
    private DBPlayerInfo playerInfo = new DBPlayerInfo();

    protected void Page_Load(object sender, EventArgs e)
    {

        if (Page.PreviousPage != null)
        {
            this.playerInfo = PreviousPage.playerInfo;
        }
        Response.Write("<B> welcome " + this.playerInfo.Username + "<br> <br>");
        Response.Write("<br>");
        Response.Write("This is a temporary test web site <br>");
        Response.Write("For a Tel-Aviv university project in Advanced software development <br>");
        Response.Write("<br> Course taught by Ohad Barzilay <br> <br>");   
    }
}
